package ch.fusun.baron.map.ui.gef.editpart;

import java.util.Collection;

import ch.fusun.baron.data.DataListener;
import ch.fusun.baron.map.Tile;

/**
 * Provides children for a tile
 */
public interface TileChildrenProvider extends DataListener {

	/**
	 * @param model
	 *            The tile model
	 * @return The children of the tile
	 */
	@SuppressWarnings("rawtypes")
	Collection<TileChild> getChildren(Tile model);

	/**
	 * @param listener
	 *            the listener to add
	 */
	void addListener(DataListener listener);

}
